package com.ssyc.student.bean;

import java.util.List;

/**
 * 学生端--百宝箱--美食数据模型
 * Created by Kevin on 2018/5/10.
 */

public class StTreasuerFood {

    /**
     * data : [{"amount":4,"url2":"http://m.moregolden.com/ycsj_count/img/1.jpg","name":"西瓜","goods_id":1,"goods_type":1,"exp":0,"url":"http://m.moregolden.com/ycsj_count/img/1.jpg","energy":0},{"amount":1,"url2":"http://m.moregolden.com/ycsj_count/img/1.jpg","name":"冬瓜","goods_id":3,"goods_type":1,"exp":0,"url":"http://m.moregolden.com/ycsj_count/img/1.jpg","energy":0}]
     * state : 200
     */

    private String state;
    private List<DataBean> data;

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * amount : 4
         * url2 : http://m.moregolden.com/ycsj_count/img/1.jpg
         * name : 西瓜
         * goods_id : 1
         * goods_type : 1
         * exp : 0
         * url : http://m.moregolden.com/ycsj_count/img/1.jpg
         * energy : 0
         */

        private int amount;
        private String url2;
        private String name;
        private int goods_id;
        private int goods_type;
        private int exp;
        private String url;
        private int energy;

        public int getAmount() {
            return amount;
        }

        public void setAmount(int amount) {
            this.amount = amount;
        }

        public String getUrl2() {
            return url2;
        }

        public void setUrl2(String url2) {
            this.url2 = url2;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getGoods_id() {
            return goods_id;
        }

        public void setGoods_id(int goods_id) {
            this.goods_id = goods_id;
        }

        public int getGoods_type() {
            return goods_type;
        }

        public void setGoods_type(int goods_type) {
            this.goods_type = goods_type;
        }

        public int getExp() {
            return exp;
        }

        public void setExp(int exp) {
            this.exp = exp;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public int getEnergy() {
            return energy;
        }

        public void setEnergy(int energy) {
            this.energy = energy;
        }
    }
}
